package org.jeecg.modules.order.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 订单表
 * @Author: jeecg-boot
 * @Date:   2021-07-27
 * @Version: V1.0
 */
@ApiModel(value="bus_order对象", description="订单表")
@Data
@TableName("bus_order")
public class BusOrder implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**客户id*/
	@Excel(name = "客户id", width = 15)
    @ApiModelProperty(value = "客户id")
    private String cusId;
	/**客户姓名*/
	@Excel(name = "客户姓名", width = 15)
    @ApiModelProperty(value = "客户姓名")
    private String cusName;
	/**客户电话*/
	@Excel(name = "客户电话", width = 15)
    @ApiModelProperty(value = "客户电话")
    private String cusTel;
	/**客户地址*/
	@Excel(name = "客户地址", width = 15)
    @ApiModelProperty(value = "客户地址")
    private String cusAddress;
	/**客户课题组*/
	@Excel(name = "客户课题组", width = 15)
    @ApiModelProperty(value = "客户课题组")
    private String cusKtz;
	/**客户邮箱*/
	@Excel(name = "客户邮箱", width = 15)
    @ApiModelProperty(value = "客户邮箱")
    private String cusEmail;
	/**客户发票*/
	@Excel(name = "客户发票", width = 15)
    @ApiModelProperty(value = "客户发票")
    private String cusCompany;
	/**订单状态*/
	@Excel(name = "订单状态", width = 15, dicCode = "bus_order_status")
    @Dict(dicCode = "bus_order_status")
    @ApiModelProperty(value = "订单状态")
    private Integer status;
	/**订单金额*/
	@Excel(name = "订单金额", width = 15)
    @ApiModelProperty(value = "订单金额")
    private java.math.BigDecimal amount;
	/**积分*/
	@Excel(name = "积分", width = 15)
    @ApiModelProperty(value = "积分")
    private Integer points;
	/**是否已经处理积分*/
	@Excel(name = "是否已经处理积分", width = 15)
    @ApiModelProperty(value = "是否已经处理积分")
    private Integer addPoints;
	/**样本数量*/
	@Excel(name = "样本数量", width = 15)
    @ApiModelProperty(value = "样本数量")
    private Integer sampleNum;

}
